import java.sql.ResultSet;

import org.junit.Test;

import utl.mofen.intf.IDBOperator;

import utl.mofen.resultSet.ConvertUtil;
import utl.mofen.script.ScriptObjectFactory;
import utl.mofen.utils.ResultSetUtil;


public class DBOperatorTester {
	@Test
	public void configLoaderTester() throws Exception
	{
		IDBOperator dbOpera = ScriptObjectFactory.getDBOperator("main");
		ResultSet rs = dbOpera.queryData("select top 1 * from bas_Material");
		rs.first();
		System.out.println(ConvertUtil.rs2JsonString(rs, true));
	}
}
